package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class PurchaseInScanListPageActivity extends UMWindowActivity {

	protected UMWindow PurchaseInScanListPage = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected UMLabel label9 = null;
protected UMImageButton imagebutton1 = null;
protected XVerticalLayout panel15 = null;
protected XVerticalLayout panel5 = null;
protected UMFloatingExpandListView listviewdefine0 = null;
protected XHorizontalLayout panel16 = null;
protected XHorizontalLayout panel18 = null;
protected UMCheckbox checkbox2 = null;
protected XVerticalLayout panel19 = null;
protected XHorizontalLayout panel20 = null;
protected UMLabel label12 = null;
protected UMLabel label13 = null;
protected XHorizontalLayout panel21 = null;
protected UMLabel label14 = null;
protected UMLabel label15 = null;
protected XHorizontalLayout panel22 = null;
protected UMLabel label16 = null;
protected UMLabel label17 = null;
protected XHorizontalLayout panel17 = null;
protected XHorizontalLayout panel23 = null;
protected UMCheckbox checkbox3 = null;
protected XVerticalLayout panel24 = null;
protected XHorizontalLayout panel25 = null;
protected UMLabel label18 = null;
protected UMLabel label19 = null;
protected UMLabel label20 = null;
protected UMLabel label21 = null;
protected XHorizontalLayout panel26 = null;
protected UMLabel label22 = null;
protected UMLabel label23 = null;
protected XHorizontalLayout panel3 = null;
protected UMCheckbox checkbox1 = null;
protected UMLabel label8 = null;
protected XVerticalLayout panel9 = null;
protected UMImageButton imagebutton3 = null;
protected XVerticalLayout panel13 = null;
protected XVerticalLayout panel14 = null;
protected UMButton button4 = null;
protected UMButton button5 = null;
protected UMButton button6 = null;
protected UMButton button7 = null;

	
	protected final static int ID_PURCHASEINSCANLISTPAGE = 1907002931;
protected final static int ID_VIEWPAGE0 = 870550939;
protected final static int ID_NAVIGATORBAR0 = 1506797088;
protected final static int ID_BUTTON0 = 1761777669;
protected final static int ID_LABEL9 = 69359033;
protected final static int ID_IMAGEBUTTON1 = 2130883972;
protected final static int ID_PANEL15 = 1450193444;
protected final static int ID_PANEL5 = 1079076603;
protected final static int ID_LISTVIEWDEFINE0 = 1139227587;
protected final static int ID_PANEL16 = 345909363;
protected final static int ID_PANEL18 = 17719099;
protected final static int ID_CHECKBOX2 = 388240783;
protected final static int ID_PANEL19 = 22730573;
protected final static int ID_PANEL20 = 975641556;
protected final static int ID_LABEL12 = 1217826228;
protected final static int ID_LABEL13 = 277740771;
protected final static int ID_PANEL21 = 191490484;
protected final static int ID_LABEL14 = 1305555392;
protected final static int ID_LABEL15 = 1338974890;
protected final static int ID_PANEL22 = 1056318962;
protected final static int ID_LABEL16 = 600473008;
protected final static int ID_LABEL17 = 414922625;
protected final static int ID_PANEL17 = 1664741042;
protected final static int ID_PANEL23 = 2058966116;
protected final static int ID_CHECKBOX3 = 216843758;
protected final static int ID_PANEL24 = 1888091951;
protected final static int ID_PANEL25 = 1471725707;
protected final static int ID_LABEL18 = 278436917;
protected final static int ID_LABEL19 = 115948899;
protected final static int ID_LABEL20 = 1557626001;
protected final static int ID_LABEL21 = 619761883;
protected final static int ID_PANEL26 = 1850393640;
protected final static int ID_LABEL22 = 572321396;
protected final static int ID_LABEL23 = 603375970;
protected final static int ID_PANEL3 = 899145099;
protected final static int ID_CHECKBOX1 = 227444163;
protected final static int ID_LABEL8 = 678297275;
protected final static int ID_PANEL9 = 1734652549;
protected final static int ID_IMAGEBUTTON3 = 124933532;
protected final static int ID_PANEL13 = 1471613762;
protected final static int ID_PANEL14 = 789043723;
protected final static int ID_BUTTON4 = 1824407768;
protected final static int ID_BUTTON5 = 1868705193;
protected final static int ID_BUTTON6 = 634778935;
protected final static int ID_BUTTON7 = 23140143;

	
	
	@Override
	public String getControllerName() {
		return "PurchaseInScanListPageController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		{ //listviewdefine0 - action:listviewdefine0_onrestart
    UMEventArgs args = new UMEventArgs(PurchaseInScanListPageActivity.this);
    actionListviewdefine0_onrestart(listviewdefine0,args);

}

		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("PurchaseInScanListPage",ID_PURCHASEINSCANLISTPAGE);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("label9",ID_LABEL9);
  idmap.put("imagebutton1",ID_IMAGEBUTTON1);
  idmap.put("panel15",ID_PANEL15);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("listviewdefine0",ID_LISTVIEWDEFINE0);
  idmap.put("panel16",ID_PANEL16);
  idmap.put("panel18",ID_PANEL18);
  idmap.put("checkbox2",ID_CHECKBOX2);
  idmap.put("panel19",ID_PANEL19);
  idmap.put("panel20",ID_PANEL20);
  idmap.put("label12",ID_LABEL12);
  idmap.put("label13",ID_LABEL13);
  idmap.put("panel21",ID_PANEL21);
  idmap.put("label14",ID_LABEL14);
  idmap.put("label15",ID_LABEL15);
  idmap.put("panel22",ID_PANEL22);
  idmap.put("label16",ID_LABEL16);
  idmap.put("label17",ID_LABEL17);
  idmap.put("panel17",ID_PANEL17);
  idmap.put("panel23",ID_PANEL23);
  idmap.put("checkbox3",ID_CHECKBOX3);
  idmap.put("panel24",ID_PANEL24);
  idmap.put("panel25",ID_PANEL25);
  idmap.put("label18",ID_LABEL18);
  idmap.put("label19",ID_LABEL19);
  idmap.put("label20",ID_LABEL20);
  idmap.put("label21",ID_LABEL21);
  idmap.put("panel26",ID_PANEL26);
  idmap.put("label22",ID_LABEL22);
  idmap.put("label23",ID_LABEL23);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("checkbox1",ID_CHECKBOX1);
  idmap.put("label8",ID_LABEL8);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("imagebutton3",ID_IMAGEBUTTON3);
  idmap.put("panel13",ID_PANEL13);
  idmap.put("panel14",ID_PANEL14);
  idmap.put("button4",ID_BUTTON4);
  idmap.put("button5",ID_BUTTON5);
  idmap.put("button6",ID_BUTTON6);
  idmap.put("button7",ID_BUTTON7);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(PurchaseInScanListPageActivity.this);
    actionViewpage0_onload(viewPage0,args);

}
{ //listviewdefine0 - action:listviewdefine0_onload
    UMEventArgs args = new UMEventArgs(PurchaseInScanListPageActivity.this);
    actionListviewdefine0_onload(listviewdefine0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","扫描记录"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button0_onclick"
,"padding-left","20"
,"font-size","20"
,"valign","center"
,"width","88"
,"font-family","default"
,"background-image","btn_back"
,"layout-type","hbox"
,"halign","left"
,"height","44"
,"pressed-image","btn_back_touch"
);
navigatorbar0.addView(button0);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label9);
imagebutton1 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON1
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","tab_more_touch.png"
,"onclick","action:imagebutton1_onclick"
,"icon-height","25"
,"font-size","10"
,"valign","center"
,"right","0"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","tab_more.png"
,"istogglebutton","false"
,"width","40"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","25"
,"value","图标名称"
,"height","40"
);
navigatorbar0.addView(imagebutton1);

return navigatorbar0;
}
public View getPanel18View(final UMActivity context,IBinderGroup binderGroup) {
panel18 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL18
,"background","#cecece"
,"width","40"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
checkbox2 = (UMCheckbox)ThirdControl.createControl(new UMCheckbox(context),ID_CHECKBOX2
,"bindfield","isgroupchecked"
,"check-off-image","checkbox_noselect"
,"onclick","action:checkbox2_onclick"
,"check-on-image","checkbox_select"
,"width","44"
,"layout-type","hbox"
,"height","44"
);
panel18.addView(checkbox2);

return panel18;
}
public View getPanel20View(final UMActivity context,IBinderGroup binderGroup) {
panel20 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL20
,"background","#cecece"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label12 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL12
,"color","#000000"
,"width","94.0"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","单据号："
,"height","fill"
);
panel20.addView(label12);
label13 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL13
,"bindfield","vbillcode"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","65.0"
,"height","fill"
);
panel20.addView(label13);

return panel20;
}
public View getPanel21View(final UMActivity context,IBinderGroup binderGroup) {
panel21 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL21
,"background","#cecece"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"color","#000000"
,"width","94.0"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","物料名称:"
,"height","fill"
);
panel21.addView(label14);
label15 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL15
,"bindfield","materialname"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","94.0"
,"height","fill"
);
panel21.addView(label15);

return panel21;
}
public View getPanel22View(final UMActivity context,IBinderGroup binderGroup) {
panel22 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL22
,"background","#cecece"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label16 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL16
,"color","#000000"
,"width","94.0"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","扫描合计"
,"height","fill"
);
panel22.addView(label16);
label17 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL17
,"bindfield","sumScanedNum"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","94.0"
,"height","fill"
);
panel22.addView(label17);

return panel22;
}
public View getPanel19View(final UMActivity context,IBinderGroup binderGroup) {
panel19 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL19
,"width","fill"
,"valign","CENTER"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
View panel20 = (View) getPanel20View((UMActivity)context,binderGroup);
panel19.addView(panel20);
View panel21 = (View) getPanel21View((UMActivity)context,binderGroup);
panel19.addView(panel21);
View panel22 = (View) getPanel22View((UMActivity)context,binderGroup);
panel19.addView(panel22);

return panel19;
}
public View getPanel16View(final UMActivity context,IBinderGroup binderGroup) {
panel16 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL16
,"border-bottom-color","#C7C7C7"
,"background","#f7f7f7"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","90"
);
View panel18 = (View) getPanel18View((UMActivity)context,binderGroup);
panel16.addView(panel18);
View panel19 = (View) getPanel19View((UMActivity)context,binderGroup);
panel16.addView(panel19);

return panel16;
}
public View getPanel23View(final UMActivity context,IBinderGroup binderGroup) {
panel23 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL23
,"margin-left","0"
,"width","40"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
checkbox3 = (UMCheckbox)ThirdControl.createControl(new UMCheckbox(context),ID_CHECKBOX3
,"bindfield","ischecked"
,"check-off-image","checkbox_noselect"
,"check-on-image","checkbox_select"
,"width","40"
,"onchange","action:checkbox3_onchange"
,"disabled","disabled"
,"layout-type","hbox"
,"height","40"
);
panel23.addView(checkbox3);

return panel23;
}
public View getPanel25View(final UMActivity context,IBinderGroup binderGroup) {
panel25 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL25
,"background","#FFFFFF"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label18 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL18
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","109.0"
,"content","批次号/序列号："
,"height","wrap"
);
panel25.addView(label18);
label19 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL19
,"bindfield","vbatchcode"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","100.0"
,"height","20"
);
panel25.addView(label19);
label20 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL20
,"color","#000000"
,"width","10"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","/"
,"height","fill"
);
panel25.addView(label20);
label21 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL21
,"bindfield","vserialcode"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","110.0"
,"height","fill"
);
panel25.addView(label21);

return panel25;
}
public View getPanel26View(final UMActivity context,IBinderGroup binderGroup) {
panel26 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL26
,"border-bottom-color","#C7C7C7"
,"background","#FFFFFF"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label22 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL22
,"color","#000000"
,"width","94.0"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","已扫描主数量:"
,"height","fill"
);
panel26.addView(label22);
label23 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL23
,"bindfield","scannum"
,"color","#000000"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"widthwrap","52.0"
,"height","20"
);
panel26.addView(label23);

return panel26;
}
public View getPanel24View(final UMActivity context,IBinderGroup binderGroup) {
panel24 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL24
,"padding-left","15"
,"width","fill"
,"valign","TOP"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
View panel25 = (View) getPanel25View((UMActivity)context,binderGroup);
panel24.addView(panel25);
View panel26 = (View) getPanel26View((UMActivity)context,binderGroup);
panel24.addView(panel26);

return panel24;
}
public View getPanel17View(final UMActivity context,IBinderGroup binderGroup) {
panel17 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL17
,"border-bottom-color","#C7C7C7"
,"background","#FFFFFF"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","60.0"
);
View panel23 = (View) getPanel23View((UMActivity)context,binderGroup);
panel17.addView(panel23);
View panel24 = (View) getPanel24View((UMActivity)context,binderGroup);
panel17.addView(panel24);

return panel17;
}
public View getListviewdefine0View(final UMActivity context,IBinderGroup binderGroup) {
listviewdefine0 = (UMFloatingExpandListView)ThirdControl.createControl(new UMFloatingExpandListView(context),ID_LISTVIEWDEFINE0
,"list-type","group"
,"onrestart","action:listviewdefine0_onrestart"
,"weight","1"
,"valign","TOP"
,"onload","action:listviewdefine0_onload"
,"layout","vbox"
,"bindfield","puinscanlist,row"
,"width","fill"
,"onitemclick","action:listviewdefine0_onitemclick"
,"layout-type","vbox"
,"halign","center"
,"height","0"
);
listviewdefine0.addListItemView("getPanel16View");
listviewdefine0.addListItemView("getPanel17View");

return listviewdefine0;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"border-top-width","1"
,"padding-left","8"
,"width","fill"
,"border-top-color","#b7b7b7"
,"valign","center"
,"background-image","tabbar"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","50"
);
checkbox1 = (UMCheckbox)ThirdControl.createControl(new UMCheckbox(context),ID_CHECKBOX1
,"bindfield","checkAll"
,"check-off-image","checkbox_noselect"
,"check-on-image","checkbox_select"
,"width","44"
,"onchange","action:checkbox1_onchange"
,"layout-type","hbox"
,"height","44"
);
panel3.addView(checkbox1);
label8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL8
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","30.0"
,"content","全选"
,"height","wrap"
);
panel3.addView(label8);
panel9 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL9
,"width","0"
,"weight","1"
,"valign","TOP"
,"layout-type","hbox"
,"halign","center"
,"height","60.0"
);
panel3.addView(panel9);
imagebutton3 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON3
,"font-pressed-color","#e50011"
,"color","#ff0000"
,"icon-pressed-image","icon_ok.png"
,"onclick","action:imagebutton3_onclick"
,"icon-height","40"
,"font-size","20"
,"valign","center"
,"icon-text-spacing","3"
,"margin-right","5"
,"imagebuttontype","text"
,"icon-background-image","icon_ok.png"
,"istogglebutton","false"
,"width","80"
,"checked","false"
,"font-family","default"
,"margin-top","2"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","提交"
,"height","fill"
);
panel3.addView(imagebutton3);

return panel3;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL5
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View listviewdefine0 = (View) getListviewdefine0View((UMActivity)context,binderGroup);
panel5.addView(listviewdefine0);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
panel5.addView(panel3);

return panel5;
}
public View getPanel15View(final UMActivity context,IBinderGroup binderGroup) {
panel15 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL15
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
panel15.addView(panel5);

return panel15;
}
public View getPanel14View(final UMActivity context,IBinderGroup binderGroup) {
panel14 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL14
,"margin-left","20"
,"width","fill"
,"margin-top","20"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"margin-bottom","20"
,"margin-right","20"
,"height","fill"
);
button4 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON4
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button4_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","详情"
,"height","40"
);
panel14.addView(button4);
button5 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON5
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button5_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","修改"
,"height","40"
);
panel14.addView(button5);
button6 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON6
,"font-pressed-color","#f2adb2"
,"color","#ff0000"
,"onclick","action:button6_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","删除"
,"height","40"
);
panel14.addView(button6);
button7 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON7
,"font-pressed-color","#ffffff"
,"color","#ff0000"
,"onclick","action:button7_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","10"
,"layout-type","vbox"
,"halign","center"
,"value","取消"
,"height","40"
);
panel14.addView(button7);

return panel14;
}
public View getPanel13View(final UMActivity context,IBinderGroup binderGroup) {
panel13 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL13
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","220"
);
View panel14 = (View) getPanel14View((UMActivity)context,binderGroup);
panel13.addView(panel14);

return panel13;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View panel15 = (View) getPanel15View((UMActivity)context,binderGroup);
viewPage0.addView(panel15);
View panel13 = (View) getPanel13View((UMActivity)context,binderGroup);
viewPage0.addView(panel13);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
PurchaseInScanListPage = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_PURCHASEINSCANLISTPAGE
,"layout","vbox"
,"canvaswidth","375"
,"orientation","vertical"
,"controller","PurchaseInScanListPageController"
,"canvasheight","667"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
PurchaseInScanListPage.addView(viewPage0);

return (UMWindow)PurchaseInScanListPage;
}

	
	public void actionCheckbox1_onchange(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "checkbox1_onchange";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "checkAll()",UMActivity.getViewId(control),args);
}
public void actionCheckbox3_onchange(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "checkbox3_onchange";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "checkAllStatus()",UMActivity.getViewId(control),args);
}
public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "initScanTable()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button0_onclick()",UMActivity.getViewId(control),args);
}
public void actionButton7_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button7_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "itemCancle()",UMActivity.getViewId(control),args);
}
public void actionImagebutton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "showMenuList()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onitemclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onitemclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onItemClick_showDetailInfo()",UMActivity.getViewId(control),args);
}
public void actionButton6_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button6_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "itemDelete()",UMActivity.getViewId(control),args);
}
public void actionButton5_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button5_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "openScanEditPage()",UMActivity.getViewId(control),args);
}
public void actionCheckbox2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "checkbox2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onEventClick_checkRow()",UMActivity.getViewId(control),args);
}
public void actionImagebutton3_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton3_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "submitPuInVOs()",UMActivity.getViewId(control),args);
}
public void actionButton4_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button4_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "showScanDetail()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onrestart(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onrestart";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onRestart_loadData()",UMActivity.getViewId(control),args);
}
public void actionListviewdefine0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "listviewdefine0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "onEventLoad_showScan()",UMActivity.getViewId(control),args);
}


}
